package com.farm.pojo.DTO;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.util.List;
import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class InquiryDto {
    private Long commitId;

    // 发布人的id
    private Long userId;

    /**
     * 内容
     */
    private String content;

    private Integer dislikeState;

    /**
     * 图片集合
     */
    private List<String> picList;
    private Integer liking;
    private Integer collection;
    /**
     * 点赞和收藏状态字段 数据库表不存在
     */
    private Integer likeState;
    private Integer collectionState;
    private List<Map<String, Object>> answerList;
}
